<!DOCTYPE html>
<html>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?ace6d4fecaa0e5cd13232d199b974bc2";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no" />
    <title>巴厘岛之旅</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .img-routes-btn {
            display: block;
            margin: 0 auto 30px auto;
            width: 39%;
        }

        .img-cancel-share {
            width: 30px;
            position: absolute;
            top: 5%;
            left: 13%;
        }

        .pop-share {
            display: none;
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0%;
            text-align: center;
            background-color: rgb(93, 93, 93);
        }
    </style>
</head>

<body>
    <img src="images/routes_main.png" alt="" class="main" width="100%">
    <img src="images/routes_btn.png" alt="" class="img-routes-btn">

    <div class="pop-share">
        <img src="images/share_tip_2.png" alt="" class="" width="100%">
        <!-- <img src="images/cancel.png" alt="" class="img-cancel-share"> -->

    </div>
</body>

<script type="text/javascript">
    var shareData = {
        title: '伊一、天悦等你看直播送大礼！',
        desc: '乐钻已到账，伊一天悦在乐可旅行等你来看直播哦~',
        imgUrl: '<%=browserURL%>/images/share.jpg',
        link: '<%=browserURL%>/index'
    };

    var wxConfig = {
        appId: '<%=wxConfig.appId%>',
        timestamp: '<%=wxConfig.timestamp%>',
        nonceStr: '<%=wxConfig.nonceStr%>',
        signature: '<%=wxConfig.signature%>'
    }
</script>

<script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="javascripts/jquery-1.10.1.min.js" charset="utf-8"></script>
<script src="javascripts/base.js" charset="utf-8"></script>
<script>
    $('.img-routes-btn').on('click', function() {
        $('.pop-share').show();
    });
    $('.pop-share').on('click', function() {
        $('.pop-share').hide();
    });
    if (isWechat()) {
        $(function() {
            pushHistory();
            window.addEventListener("popstate", function(e) {
                window.location.href = 'index';
            }, false);

            function pushHistory() {
                var state = {
                    title: "title",
                    url: "#"
                };
                window.history.pushState(state, "title", "#");
            }

        });
    }
</script>

</html>
